#pragma once
#include <wx/textfile.h>
#include "RptStruct.h"

#include "D:\Users\Sean\Projects\TuxMon\TuxSpy\TuxSpy\DBWrapper.h"

class CJsonWrapper
{
public:
	CJsonWrapper( void );
	~CJsonWrapper( void );
	int DrawCPUData( SysResourceArray sysresarray );
	int DrawMEMData( SysResourceArray sysresarray );
	int DrawTuxClientData( RptTuxClientArray rpttuxcltarray );
	int DrawTuxQueueData( RptTuxQueueArray rpttuxquearray );
	int SetReportDir( wxString reportdir);
	int InitialReportDir( int sitetype );

private:
	int OpenChartTemplate( wxString filename );
	int CloseChartTemplate( );
	wxString getTemplateLine( int linenumber );
	wxString strReportDir;
	wxTextFile m_TemplateFile;
};


